#ifndef Phong_h
#define Phong_h

#include "Illumination.h"
#include "Scene.h"
#include "BumpMapping.h"
#include <cmath>
#include "parametrage.h"


using namespace std;

class Phong : public Illumination {
	
public:
	int i;
	Phong(){i=1;}
	float attenuation(const Point&, const Point&);
	Color illumination( Intersection&, const Object&, Scene&, Ray&, int);
	void miror( Intersection&, const Object&, Scene&, Ray&, int, Color&);
	void glossy( Intersection&, const Object&, Scene&, Ray&, int, Color&);
};

#endif
